package com.ulook.lookplanet;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;
import org.springframework.cache.annotation.EnableCaching;

/**
 * 描述：
 *
 * @author L1998
 * @date 2021/6/1
 */
@SpringBootApplication
@EnableCaching
public class LookPlanetSpringBootServletInitializer extends SpringBootServletInitializer {

    @Override
    protected SpringApplicationBuilder configure(SpringApplicationBuilder application) {
        return application.sources(LookPlanetSpringBootServletInitializer.class);
    }

    public static void main(String[] args) {
        SpringApplication.run(LookPlanetSpringBootServletInitializer.class, args);
    }
}
